//
//  UIView+BlockGesture.h
//  company
//
//  Created by  任辰东 on 2019/1/2.
//  Copyright © 2019 Ryan. All rights reserved.
//

#import <UIKit/UIKit.h>

NS_ASSUME_NONNULL_BEGIN
typedef void (^GestureActionBlock)(void);
typedef void (^longPressGestureActionBlock)(void);
@interface UIView (BlockGesture)
//添加点击手势
- (void)setTapActionWithBlock:(GestureActionBlock)block;
//添加长按手势
- (void)setLongPressActionWithBlock:(longPressGestureActionBlock)block;
@end

NS_ASSUME_NONNULL_END
